import request from '@/utils/enterprise_request'

// 注册接口
export const enterpriseRegisterService = ({ username, password }) =>
  request.post('/reg/company', { username, password })

// 登录接口
export const enterpriseLoginService = ({ username, password }) =>
  request.post('/login/company', { username, password })

// 获取catidite相关信息
export const info_ListGetService = () => request.post('/company/companyinfo')

// 修改备注
export const enterpriseUpdateNoteService = ({ informationId, note }) =>
  request.post('/company/note', { informationId, note })
// 修改rate
export const enterpriseUpdateRateService = ({ informationId, rate }) =>
  request.post('/company/rate', { informationId, rate })
//删除简历
export const rsDeleteService = (resumeinformationid) =>
  request.delete(`/user/manage/${resumeinformationid}`)

// 获取analyseResult相关信息
export const analyseResultGetService = () => request.post('/company/filepage')
